package com.qqn.acknowledge.reflection;

/**
 * @ClassName: Order
 * @Description: 假设有一个需求，通过 Order 对象，来获取用户信息和地址信息
 * @Author: 刘神仙
 * @Date: 2025-03-26 07:25
 */
public class Order {
    private Customer customer;

    private Address address;

    @Autowired
    public Order(Customer customer, Address address) {
        this.customer = customer;
        this.address = address;
    }

    public Order(){

    }

    public Customer getCustomer() {
        return customer;
    }

    public Address getAddress() {
        return address;
    }
}
